package com.bestcem.xm.ticket.enums;

import lombok.Getter;

/**
 * 工单处理状态枚举
 * @author jy.zhao
 * @version 1.0
 * @date 2021/8/26 13:50
 **/
@Getter
public enum TicketHandleStatusEnum {
    /**
     * 工单处理成功
     */
    SUCCESS(1, "1", "完成"),
    /**
     * 工单处理失败
     */
    FAILED(2, "2", "失败");

    private final String name;

    private final String code;

    private final Integer index;

    TicketHandleStatusEnum(Integer index, String code, String name) {
        this.name = name;
        this.code = code;
        this.index = index;
    }
}
